package com.ruoyi.project.system.student.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 学生管理对象 student
 * 
 * @author ruoyi
 * @date 2023-07-05
 */
public class Student extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long iid;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userIid;

    /** 入学年份 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入学年份", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inYear;

    /** 班级id */
    @Excel(name = "班级id")
    private Long classIid;

    /** 是否退学警告 */
    @Excel(name = "是否退学警告")
    private Long isWarned;

    /** 是否贫困生 */
    @Excel(name = "是否贫困生")
    private Long isHelped;

    /** 账户余额 */
    @Excel(name = "账户余额")
    private Long accountMoney;

    /** 素质分 */
    @Excel(name = "素质分")
    private Long qualityGrade;

    public void setIid(Long iid)
    {
        this.iid = iid;
    }

    public Long getIid()
    {
        return iid;
    }
    public void setUserIid(Long userIid)
    {
        this.userIid = userIid;
    }

    public Long getUserIid()
    {
        return userIid;
    }
    public void setInYear(Date inYear)
    {
        this.inYear = inYear;
    }

    public Date getInYear()
    {
        return inYear;
    }
    public void setClassIid(Long classIid)
    {
        this.classIid = classIid;
    }

    public Long getClassIid()
    {
        return classIid;
    }
    public void setIsWarned(Long isWarned)
    {
        this.isWarned = isWarned;
    }

    public Long getIsWarned()
    {
        return isWarned;
    }
    public void setIsHelped(Long isHelped)
    {
        this.isHelped = isHelped;
    }

    public Long getIsHelped()
    {
        return isHelped;
    }
    public void setAccountMoney(Long accountMoney)
    {
        this.accountMoney = accountMoney;
    }

    public Long getAccountMoney()
    {
        return accountMoney;
    }
    public void setQualityGrade(Long qualityGrade)
    {
        this.qualityGrade = qualityGrade;
    }

    public Long getQualityGrade()
    {
        return qualityGrade;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("iid", getIid())
            .append("userIid", getUserIid())
            .append("inYear", getInYear())
            .append("classIid", getClassIid())
            .append("isWarned", getIsWarned())
            .append("isHelped", getIsHelped())
            .append("accountMoney", getAccountMoney())
            .append("qualityGrade", getQualityGrade())
            .toString();
    }
}
